
package com.ssh.service.impl;

import com.ssh.dao.DepartDao;
import com.ssh.dao.UserDao;
import com.ssh.entity.Depart;
import com.ssh.entity.User;
import com.ssh.service.DepartService;
import com.ssh.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class DepartServiceImpl implements DepartService {
    @Autowired
    private DepartDao departDao;
    public List<Depart> getAllDepart() {
        List<Depart> list = departDao.getAllDepart();
        return list;
    }


}
